//go:build wireinject
// +build wireinject

package sdk

import (
	"Cosmos.Communication/internal/conf"
	"Cosmos.Communication/internal/data"
	"Cosmos.Communication/internal/server"
	"Cosmos.Communication/internal/service"
	"github.com/go-kratos/kratos/v2/log"
	"github.com/google/wire"
)

//go:generate wire
func wireProcessor(*conf.Config, log.Logger) (*Role, func(), error) {
	panic(wire.Build(server.ProviderSet, service.ProviderSet, data.ProviderSet, newRole))
}
